var InventoryRentValidationRules = ValidationRules.extend({

    getRules: function()
    {
        return {
            inventory_id:
            {
                required: true,
                number: true
            },
            client_id:
            {
                required: true,
                number: true
            },
            rent_date:
            {
                required: true
            },
            return_date:
            {
                required: true
            }
        };
    },

    getMessages: function()
    {
        return {
            inventory_id:
            {
                required: this.VALIDATION_MESSAGES.required,
                number: this.VALIDATION_MESSAGES.number
            },
            client_id:
            {
                required: this.VALIDATION_MESSAGES.required,
                number: this.VALIDATION_MESSAGES.number
            },
            rent_date:
            {
                required: this.VALIDATION_MESSAGES.required
            },
            return_date:
            {
                required: this.VALIDATION_MESSAGES.required
            }
        };
    }

});